package com.itheima.proxy;

/**
 * @author ：石破天
 * @date ：Created in 2023年02月07日
 * @description ：
 * @version: 1.0
 */
public class BigStar implements Star{

    private String name;

    public BigStar(String name){
        this.name = name;
    }

    @Override
    public String sing(String name) {
        System.out.println("您点了:"+name+"歌曲,"+this.name+"就唱着歌曲");
        return "栓Q！！！";
    }

    @Override
    public void dance() {
        System.out.println(this.name+"正在跳 freestyle dance!!");
    }
}
